package com.liu.mybatisplusdemo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liu.mybatisplusdemo.entity.Person;

import java.util.List;

public interface PersonService extends IService<Person> {

    IPage<Person> findPage(Page<Person> page, QueryWrapper<Person> queryWrapper);

    List<Person> findALL();

}
